package net.xdclass.common;


import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

import java.util.Set;

@Data
@Configuration
@ConfigurationProperties(prefix = "link-safety.rules")
public class LinkSafetyRules {
    private Set<String> keywords;
    private Set<String> regex;
    private Set<String> blacklist;
    private int maxUrlLength;
}

